package com.zzty.txj1.service;

import com.zzty.txj1.entity.Question;

import java.util.List;

public interface QuestionService {
    Integer addQuestion(String content);
    List<Question> getAllQuestion();
    Question getQuestionById(Integer id);

    List<Question> getQuestion();
    Integer getQuestionCount();
    Integer addQuestion(Question question);
    Question addContent(Question question);
    String getContentById(Question question);

    Question getQuestionById(Question question);

    Integer getMaxQuestionId();

}
